// ------------------------------------
// Sass Style
// ------------------------------------
html {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  //font-family: Menlo, "Ubuntu Mono", Consolas, "Courier New", "Microsoft Yahei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body {
  overflow: hidden;
}

article, aside, blockquote, body, button, code, dd, details, div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, input, legend, li, menu, nav, ol, p, pre, section, td, textarea, th, ul {
  margin: 0;
  padding: 0;
}

#root {
  height: inherit;
}

.layout-root {
  height: inherit;
  display: flex;
}

.globalFooter {
  padding: 0 16px;
  margin: 48px 0 24px 0;
  text-align: center;

  .copyright {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
  }
}

.ant-notification-notice-message,
.ant-notification-notice-with-icon .ant-notification-notice-message {
  font-size: 14px;
}

.ant-notification-notice-description,
.ant-notification-notice-with-icon .ant-notification-notice-description {
  font-size: 12px;
}

.ant-notification-notice-icon {
  font-size: 32px;
  line-height: 32px;
  margin-left: 0;
}

.layout-root {
  height: inherit;
  display: flex;
}

.layout-initial-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #eaedf1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10;
}

.progress-span {
  font-size: 10px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 8px;
}

.progress-span-initial {
  font-size: 10px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 8px;

  &::after {
    content: '15%';
    animation: initial-progress-span 2s;
  }
}

.layout-page-container {
  transition: all .8s ;
}

.layout-page-container>div:first-child {
  min-width: 1280px;
  height: inherit;
  padding-bottom: 60px;
}

.ant-advanced-search-form {
  padding: 24px;
  background: #fbfbfb;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  margin-bottom: 20px;

  .content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    transition: all 1.8s;
    overflow: hidden;
  }

  .antd-pro-tag-select-tagSelect .ant-tag {
    width: 120px;
    border: 1px #ccc dashed;
    text-align: center;
    font-family: 'Comic Sans MS';
  }

  .ant-tag-checkable-checked {
    background-color: rgba(65, 99, 121, 0.45);
  }
}

.ant-advanced-search-form .ant-form-item {
  display: flex;
}

.ant-advanced-search-form .ant-form-item-label {
  overflow: visible;
}

.ant-advanced-search-form .ant-form-item-control-wrapper {
  //width: 100%;
}

.app-header-menu-span-disabled {
  height: 40px;
  display: flex;
  padding: 0 15px;
  font-size: 12px;
  //justify-content: center;
  align-items: center;
  color: #ccc;

  /*&:hover, {
    background-color: #f5f5f5;
    color: #666;
  }*/
}

.ant-card-meta-description {
  font-size: 24px;
  font-family: Comic Sans MS;
}

.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
  font-family: Comic Sans MS;
}

@keyframes hideMask {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes initial-progress-span {
  0% {
    content: '0%' ;
  }
  30% {
    content: '5%' ;
  }
  80% {
    content: '15%' ;
  }
  100% {
    content: '15%' ;
  }
}

.layout-progress-bar {
  width: 40%;
  max-width: 500px;
  background-color: #fff;
  border: 1px #eee solid;
  border-radius: 6px;
  height: 8px;
  overflow: hidden;

  .progress-bar-container {
    background-color: #fff;
    height: 4px;
    margin: 1px;
    border-radius: inherit;
    overflow: hidden;
  }

  .progress-bar-pending {
    background-color: #33cdff;
    width: 15%;
    height: inherit;
    border-radius: 3px;
    transition: width .8s ;
  }

  .progress-bar-pending-initial {
    background-color: #33cdff;
    width: 15%;
    height: inherit;
    border-radius: 3px;
    animation: initial-progress-bar 2s;
  }
}

@keyframes initial-progress-bar {
  0% {
    width: 0;
  }
  30% {
    width: 5%;
  }
  80% {
    width: 15%;
  }
  100% {
    width: 15%;
  }
}

.overflower {
  display: inline-block;
  overflow: hidden;

  box-sizing: border-box;
  max-width: 100%;
  height: 1.5em;
  line-height: 1.5em;

  //white-space: nowrap;
  text-overflow: ellipsis;
}